Submitted by sarraf on February 22, 2013 - 11:23am
This post is specific to the use of the R language for data analysis. Often, we need a quick look at the data in terms of summary of key variables. The function str() tells us about the dimensions of the data frame in terms of the number of observations and the number of variables. Further, it tells us the name of individual variables, their type (class) and list of first few observations.